package com.ylr.config.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-02 19:14:43
 * className: MappingRecordEntity
 * version: 1.0
 * description:
 * 	键值对映射记录表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yc_mapping_record")
public class MappingRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 主表主键
	 */
	private Long masterId;
	/**
	 * 配置名称
	 */
	private String mapName;
	/**
	 * 键
	 */
	private String mapKey;
	/**
	 * 值
	 */
	private String mapValue;
	/**
	 * 排序等级
	 */
	private Integer sort;
	/**
	 * 状态[0-可用 1-停用]
	 */
	private Integer status;
	/**
	 * 使用状态[0-使用 1-记录]
	 */
	private Integer useStatus;
	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteStatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 创建用户
	 */
	private String createUser;
	/**
	 * 创建用户主键
	 */
	private Long createUserId;
	/**
	 * 备注
	 */
	private String remark;

}
